package com.project.ServiceImp;

import com.alibaba.dubbo.config.annotation.Service;
import com.project.mapper.InspectXmMapper;
import org.springframework.stereotype.Component;
import wt.InspectXmService;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
@Component
public class InspectXmServiceImpl implements InspectXmService {
    @Resource
    InspectXmMapper mapper;
    @Override
    public List<Map<String, Object>> getJCXM(String rqo,String rqt) {
        Map<String,Object> map = new HashMap<>();
        map.put("rqo",rqo);
        map.put("rqt",rqt);
        return mapper.getJCXM(map);
    }

    @Override
    public List<Map<String, Object>> getTJ(Map map) {
        return mapper.getTJ(map);
    }
}
